package com.ouc.mapper;

import com.ouc.entity.Frame;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Name: FrameMapper
 * @Description:
 * @Author: Mr.Tong
 */
@Mapper
@Repository
public interface FrameMapper {

    public Boolean insertFrame(Frame frame);

    public Frame getFrameById(Integer id);

    public List<Frame> getAllFrame();

    public Frame getFrameByFrameCode(String frameCode);

    public Boolean deleteFrameById(Integer id);

    public Boolean deleteFrameByFrameCode(String frameCode);









}
